package com.devinsor.spring.framework.beans;

/**
 * @program: com.elvis.demo-v1
 * @description: 包装类
 * @author: JackRen
 * @create: 2020-05-13 15:48
 **/
public class BeanWrapper {
    private Object wrapperInstance;
    private Class<?> wrapperClass;

    public BeanWrapper(Object wrapperInstance) {
        this.wrapperClass = wrapperInstance.getClass();
        this.wrapperInstance = wrapperInstance;
    }

    public Class<?> getWrapperClass() {
        return wrapperClass;
    }

    public Object getWrapperInstance() {
        return wrapperInstance;
    }
}
